package com.example.readerapp.myandserver.mybookconfig;

import android.database.sqlite.SQLiteDatabase;

/**
 * 全局统一的数据库，目前只有book_info一个表
 * */
public class MyDatabase
{
    private static SQLiteDatabase database;

    public static SQLiteDatabase getMyDatabase()
    {
        return database;
    }
    public static void initMyDatabase()
    {

            database = SQLiteDatabase.openOrCreateDatabase(MyBookConfig.myDatabasePath, null);

    }

}
